//6.输出1-1000内能被7整除的数
public class Task {
    public static void main(String[] args) {
        int i = 1;
        while (i<=1000) {
            if (i%7==0){
                System.out.println(i);
            }i++;
        }
    }
}